AN EXACT PERFORMANCE BOUND FOR AN O ( m + n ) TIMEGREEDY MATCHING
نویسنده
چکیده
We prove an exact lower bound on (G), the size of the smallest matching that a certain O(m + n) time greedy matching procedure may nd for a given graph G with n vertices and m edges. The bound is precisely Erdd os and Gallai's extremal function that gives the size of the smallest maximum matching, over all graphs with n vertices and m edges. Thus the greedy procedure is optimal in the sense that when only n and m are speciied, no algorithm can be guaranteed to nd a larger matching than the greedy procedure. The greedy procedure and augmenting path algorithms are seen to be complementary: the greedy procedure nds a large matching for dense graphs, while augmenting path algorithms are fast for sparse graphs. Well known hybrid algorithms consisting of the greedy procedure followed by an augmenting path algorithm are shown to be faster than the augmenting path algorithm alone. The lower bound on (G) is a stronger version of Erdd os and Gallai's result, and so the proof of the lower bound is a new way of proving of Erdd os and Gallai's result.
منابع مشابه
AN EXACT PERFORMANCE BOUND FOR AN O(m+ n) TIME GREEDY MATCHING PROCEDURE
We prove an exact lower bound on γ(G), the size of the smallest matching that a certain O(m+ n) time greedy matching procedure may find for a given graph G with n vertices and m edges. The bound is precisely Erdös and Gallai’s extremal function that gives the size of the smallest maximum matching, over all graphs with n vertices and m edges. Thus the greedy procedure is optimal in the sense tha...
متن کاملCGG90] L. Colussi, Z. Galil, R. Giancarlo. On the Exact Complexity of String Matching. Pro- ceedings of the Thirty First Annual IEEE Symposium on the Foundations of Computer Science, 1990, 135-143.
The problem of nding all occurrences of a pattern of length m in a text of length n is considered. It is shown that the Boyer-Moore string matching algorithm performs roughly 3n comparisons and that this bound is tight up to O(n=m); more precisely, an upper bound of 3n n m comparisons is shown, as is a lower bound of 3n(1 o(1)) comparisons, as n m !1 and m!1. While the upper bound is somewhat i...
متن کاملAn upper bound for the regularity of powers of edge ideals
A recent result due to Ha and Van Tuyl proved that the Castelnuovo-Mumford regularity of the quotient ring $R/I(G)$ is at most matching number of $G$, denoted by match$(G)$. In this paper, we provide a generalization of this result for powers of edge ideals. More precisely, we show that for every graph $G$ and every $sgeq 1$, $${rm reg}( R/ I(G)^{s})leq (2s-1) |E(G)|^{s-1} {rm ma...
متن کاملOptimal Exact and Fast Approximate Two Dimensional Pattern Matching Allowing Rotations
We give fast filtering algorithms to search for a 2– dimensional pattern in a 2–dimensional text allowing any rotation of the pattern. We consider the cases of exact and approximate matching under several matching models, improving the previous results. For a text of size n× n characters and a pattern of size m×m characters, the exact matching takes average time O(n log m/m), which is optimal. ...
متن کاملInstrument dependency of Kubelka-Munk theory in computer color matching
Different industries are usually faced with computer color matching as an important problem. The most famous formula which is commonly used for recipe prediction is based on Kubelka-Munk K-M theory. Considering that spectrophotometer’s geometry and its situation influence the measured spectral values, the performance of this method can be affected by the instrument. In the present study, three ...
متن کامل